From e23e1a21a52dbf5257f03acde1a5dd0c88cd91f1 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Sun, 4 Dec 2005 11:57:32 +0100 Subject: [PATCH] Image.py should send 2 new arguments to qemu-dm for setting QEMU window Title. 1 is const string "-domain-name", the other is the string of domain name. At present imagy.py combines these two strings to 1. So Qemu will fail to recognize it and fail to start. Signed-off-by: Yongkang You --- tools/python/xen/xend/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index 5099b2eba3..3e1bf8688c 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -261,7 +261,7 @@ class VmxImageHandler(ImageHandler): # Handle disk/network related options mac = None - ret.append("-domain-name %s" % self.vm.info['name']) + ret = ret + ["-domain-name", "%s" % self.vm.info['name']] for (name, info) in deviceConfig: if name == 'vbd': uname = sxp.child_value(info, 'uname') -- 2.30.2